POV-Ray : Newsgroups : povray.general : function question : function question Server Time
6 Aug 2024 10:22:40 EDT (-0400)
  function question  
From: Shay
Date: 3 Apr 2002 16:20:36
Message: <3cab7224$1@news.povray.org>
Can I define a function that takes a float and returns a vector?
Something like this:

function Get_Vec {<x^2,x^3,x^4>}
Get_Vec (2) ------> <4,8,16>

Do I have to use a macro to accomplish this?

 -Shay


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.